package com.astar.enums;

/**
 * 接口返回编码及信息枚举类
 * Created by liuruiyan on 2019/4/12.
 */
public enum ReturnCodeEnum {
    
    CODE_0000("0000","SUCCESS"),
    CODE_1000("1000","验证码有误"),
    CODE_1001("1001","验证码已失效"),




    CODE_9999("9999","系统未知异常");

    private String code;
    private String msg;

    ReturnCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
